﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyStream.UI
{
    [Serializable]
    public class Options
    {
        private List<WorkspaceInfo> _workspaces;
        public List<WorkspaceInfo> WorkSpaces
        {
            get { return _workspaces; }
            set {_workspaces = value;}
        }

        private int _interval;
        public int Interval
        {
            get { return _interval; }
            set { _interval = value; }
        }

        private string _commentMarkPattern;
        public string CommentMarkPattern
        {
            get { return _commentMarkPattern; }
            set { _commentMarkPattern = value; }
        }

        private int _maxDuration;
        public int MaxDuration
        {
            get { return _maxDuration; }
            set { _maxDuration = value; }
        }
    }

    public struct WorkspaceInfo
    {
        public string workspaceName;
        public string serverName;
    }
}
